import Layer from '../../core/Layer';

export default class extends Layer {
    constructor(canvas, style, data = []) {
        super(canvas, style);
        this.data = data;
    }

    build(painter) {
        this.childs.splice(0);
        const sum = this.data.reduce((s, vo) => s + vo, 0);
        for (let i = 0; i < this.data.length; i++) {
            
        }
    }
}
